package exercise3;

public class Student {

	private String name;
	private String id;
	private int chinese;
	private int math;
	private int eng;
	private int phy;
	private int che;
	private int sum;
	public String getName(){
		return name;
	}
	public Student setName(String Name){
		this.name=Name;
		return this;
	}
	public String getId(){
		return id;
	}
	public Student setId(String Id) {
        this.id = Id;
        return this;
    }
	public int getChinese(){
		return chinese;
	}
	public Student setChinese(int d){
		this.chinese=d;
		return this;
	}
	public int getMath(){
		return math;
	}
	public Student setMath(int Math){
		this.math=Math;
		return this;
	}
	public int getEng(){
		return eng;
	}
	public Student setEng(int Eng){
		this.eng=Eng;
		return this;
	}
	public int getPhy(){
		return phy;
	}
	public Student setPhy(int Phy){
		this.phy=Phy;
		return this;
	}
	public int getChe(){
		return che;
	}
	public Student setChe(int Che){
		this.che=Che;
		return this;
	}
	public int getSum() {
        return sum;
    }

    public Student setSum(int sum) {
        this.sum = sum ;
        return this;
    }
}